package xyz.bali16.module.activeuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import xyz.bali16.application.core.model.UserVo;

/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
@Data
public class ActiveUser {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    String id;
    Long postNum;
    Long collectNum;
    Long likeNum;
    Long replyNum;
    Long score;

    String userId;

    @TableField(exist = false)
    UserVo userVo;
}
